const index = () => import ('../../html/index/index');
const seek_end = () => import ('../../html/index/seek_end'); // 搜索结果
const houses_info = () => import ('../../html/index/houses_info'); // 楼盘详情
const houses_dynamic = () => import ('../../html/index/houses_dynamic'); // 楼盘动态
const houses_data = () => import ('../../html/index/houses_data'); // 楼盘数据
const extend = () => import ('../../html/index/extend'); // 我的二维码
const my_code = () => import ('../../html/index/my_code'); // 我的二维码
const houses_code = () => import ('../../html/index/houses_code'); // 楼盘二维码
const seek = () => import ('../../html/index/seek'); // 搜索
const money_top = () => import('../../html/user/money_top');// 佣金榜单
const city = () => import('../../html/index/city');// 城市

export default[
  {
    path: '/index',
    name: 'index',
    meta: {
      keepAlive:true,
      title: '智能屋'  //改变title为首页
    },
    component: index,
    // meta:{keepAlive:true}
  },
  {
    path: '/seek_end',
    name: 'seek_end',
    meta: {
      title: '搜索'
    },
    component: seek_end,
    // meta:{keepAlive:true}
  },
  {
    path: '/houses_info',
    name: 'houses_info',
    meta: {
      title: '楼盘详情'
    },
    component: houses_info,
    // meta:{keepAlive:true}
  },
  {
    path: '/houses_dynamic/:id',
    name: 'houses_dynamic',
    meta: {
      title: '楼盘动态'
    },
    component: houses_dynamic,
    // meta:{keepAlive:true}
  },
  {
    path: '/houses_data',
    name: 'houses_data',
    meta: {
      title: '楼盘数据'
    },
    component: houses_data,
    // meta:{keepAlive:true}
  },
  {
    path: '/extend',
    name: 'extend',
    component: extend,
    meta: {
      title: '推广'
    },
    // meta:{keepAlive:true}
  },
  {
    path: '/my_code',
    name: 'my_code',
    meta: {
      title: '我的二维码'
    },
    component: my_code,
    // meta:{keepAlive:true}
  },
  {
    path: '/houses_code',
    name: 'houses_code',
    meta: {
      title: '楼盘二维码'
    },
    component: houses_code,
    // meta:{keepAlive:true}
  },
  {
    path: '/seek/:id',
    name: 'seek',
    meta: {
      title: '搜索'
    },
    component: seek,
    // meta:{keepAlive:true}
  },
  {
    path: '/money_top',
    name: 'money_top',
    meta: {
      title: '佣金榜单'
    },
    component: money_top,
    // meta:{keepAlive:true}
  },
  {
    path: '/city',
    name: 'city',
    meta: {
      keepAlive:true,
      title: '城市'
    },
    component: city
  },

  
]
